package com.tj.service;

import com.tj.pojo.Hospital;

import java.util.List;

public interface HospitalService {
    public List<Hospital> selectAll() throws Exception;
    public Hospital selectById(int id);
    
    List<Hospital> selectByHospitalId(Integer id) throws Exception;
    
    int insert(String name, String picture, String telephone, String address, String businessHours, String deadline, String rule, int state) throws Exception;
    
    int delete(Integer id) throws Exception;
    
    int update(Integer id, String name, String picture, String telephone, String address, String businessHours, String deadline, String rule, int state) throws Exception;
    
    List<Hospital> Fuzzyquery(String name) throws Exception;
}
